package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.StyleQualityControlEntity;

@MyBatisDao
public interface StyleQualityControlEntityMapper extends CrudDao<StyleQualityControlEntity> {
	int deleteByPrimaryKey(Long qcId);

	int insert(StyleQualityControlEntity record);

	int insertSelective(StyleQualityControlEntity record);

	StyleQualityControlEntity selectByPrimaryKey(Long qcId);

	int updateByPrimaryKeySelective(StyleQualityControlEntity record);

	int updateByPrimaryKeyWithBLOBs(StyleQualityControlEntity record);

	int updateByPrimaryKey(StyleQualityControlEntity record);

	List<StyleQualityControlEntity> findList(Long styleId);

	int insertData(StyleQualityControlEntity entity);
	
	int insertList(List<StyleQualityControlEntity> list);
	
	List<StyleQualityControlEntity> findByUpdateDate(String date);
	
	int updateStatus(StyleQualityControlEntity entity);
}